package com.spzx.product.util;

/**
 * @Author ChenXing
 * @Description 这个类专门处理 sleep方法报出的异常，使代码更加美观
 * @Create 2024/8/11 11:02
 */
public class TUtil {
    public static void sleep(long ms){
        try {
            Thread.sleep(ms);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
    }
}
